package 反射学习;

import po.Person;

public class 获取类名 {
    public static void main(String[] args) throws Exception {
        Class personClass = Person.class;

        //获取类名
        String name = personClass.getName();
        System.out.println(name);
        //po.Person
    }
}
